package itheima;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        System.out.println("请输入年份");
        int y, m, d;
        Scanner sc = new Scanner(System.in);
        y = sc.nextInt();
        boolean flag = Day.isLeap(y);
        if (flag) {
            System.out.println("该年是闰年");
        } else {
            System.out.println("该年不是闰年");
        }


    }
}
